package com.xz.disk.entity;

import lombok.Data;

/**
 * ========================================================
 * ******************【学如逆水行舟】***********************
 * 如果能力跟不上野心的步伐，那就停下天马行空的想象，继续努力吧！！！
 *
 * @author ：肖舟   XiaoZhou
 * @date ：Created in 2020/4/14 21:24
 * *********************【不进则退】************************
 * ========================================================
 */
@Data
public class MyFile {

    private String icon;

    // 文件名
    private String fileName;

    // 文件路径
    private String fileURL;

    // 文件大小
    private String size;

    // 文件最后修改时间
    private String updateTime;

    // 是否是文件夹
    private String isDirectory;

    // 文件后缀
    private String suffix;


    public MyFile(String fileName,String icon, String fileURL, String size, String updateTime, String isDirectory, String suffix) {
        this.fileName = fileName;
        this.icon=icon;
        this.fileURL = fileURL;
        this.size = size;
        this.updateTime = updateTime;
        this.isDirectory = isDirectory;
        this.suffix = suffix;
    }

    public MyFile() {
    }

    @Override
    public String toString() {
        return "MyFile{" +
                "fileName='" + fileName + '\'' +
                ", size='" + size + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", isDirectory='" + isDirectory + '\'' +
                ", suffix='" + suffix + '\'' +
                '}';
    }
}
